.class final Lnet/tsapps/topdeals/br;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field private synthetic a:Lnet/tsapps/topdeals/PreferencesActivity;


# direct methods
.method constructor <init>(Lnet/tsapps/topdeals/PreferencesActivity;)V
    .locals 0

    iput-object p1, p0, Lnet/tsapps/topdeals/br;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/content/DialogInterface;I)V
    .locals 2

    iget-object v0, p0, Lnet/tsapps/topdeals/br;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/PreferencesActivity;->a(Lnet/tsapps/topdeals/PreferencesActivity;)Lnet/tsapps/topdeals/h/a;

    move-result-object v0

    check-cast p1, Lnet/tsapps/topdeals/b/j;

    invoke-virtual {p1}, Lnet/tsapps/topdeals/b/j;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnet/tsapps/topdeals/h/a;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/br;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/PreferencesActivity;->i(Lnet/tsapps/topdeals/PreferencesActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lnet/tsapps/topdeals/notificationservice/a;->a(Landroid/content/Context;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/br;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lnet/tsapps/topdeals/PreferencesActivity;->a(Lnet/tsapps/topdeals/PreferencesActivity;Z)V

    return-void
.end method
